package com.zyong.design.pattern.template.case2;

/**
 * @program: zyong-design-pattern
 * @ClassName: Client
 * @author: zyong
 * @create: 2024-04-27 11:24
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("制作黑豆豆浆");
        AbstractSoyaMilk blackBeanSoyaMilk = new BlackBeanSoyaMilk();
        blackBeanSoyaMilk.make();

        System.out.println("制作花生豆浆");
        AbstractSoyaMilk peanutSoyaMilk = new PeanutSoyaMilk();
        peanutSoyaMilk.make();
    }
}
